<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/common/taglib.jsp" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>已完成任务</title>
	<%@include file="/WEB-INF/common/static.jsp" %>
	<script type="text/javascript">
	</script>
</head>
<body>
	    <ul class="nav nav-tabs" role="tablist">
	    		<li role="presentation">
				<a href="${ctx}/officeManage/taskManange/showNoFinishedTasks.do">待办任务</a>
			</li>
			<li role="presentation" class="active">
				<a href="${ctx}/officeManage/taskManange/showFinishedTasks.do">已完成任务</a>
			</li>
		</ul>
		
		<div id="meetings" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	                <div class="modal-dialog" id="taskDetail">
	                		
	                </div>
	    </div>
        
       	<c:forEach var="userTask"  items="${userTasks }">
					<div class="container">
						<div class="list-group sqllist-group" style="padding:10px;margin:0;">
							<div class="list-group-item sqllist">
								<p class="list-group-item-text"><span class="meeting_color">[<span>${userTask.group.name }</span>]&nbsp;</span>标题：${userTask.task.name }</span>
								<span style="float:right" class="mytime"><fmt:formatDate value="${userTask.task.createTime }" type="both"/></span>
								<span style="float:right;margin-right:10px;"><span>发布人：${userTask.user.userName }</span><span class="admin"></span></span>
								</p>
							</div>
							<div class="list-group-item sqllist">
								<p class="list-group-item-text">
									<span class="meeting_color">
										[<span>详细内容</span>]&nbsp;
									</span>
								</p>
								<label style="text-indent:4em;font-weight:normal;color:black!important">
									${userTask.task.content }
								</label>
							</div>
						</div>
					</div>
	       </c:forEach>
	
</body>
</html>